home *** CD-ROM | disk | FTP | other *** search
- head 1.1;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @@;
-
-
- 1.1
- date 90.08.09.16.39.38; author kupfer; state Exp;
- branches ;
- next ;
-
-
- desc
- @Man page for hard-params test program (from gcc distribution).
- @
-
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @'\" Copyright 1990 Regents of the University of California
- '\" Permission to use, copy, modify, and distribute this
- '\" documentation for any purpose and without fee is hereby
- '\" granted, provided that this notice appears in all copies.
- '\" The University of California makes no representations about
- '\" the suitability of this material for any purpose. It is
- '\" provided "as is" without express or implied warranty.
- '\"
- '\" $Header: /sprite/lib/forms/RCS/cmd.man,v 1.2 90/02/20 17:11:01 douglis Exp $ SPRITE (Berkeley)
- '/"
- .so \*(]ltmac.sprite
- .HS PROGNAME cmds
- .BS
- '\" Note: do not modify the .SH NAME line immediately below!
- .SH NAME
- hard-params \- Describe the hardware being run on
- .SH SYNOPSIS
- \fBhard-params \fR [\fIoptions\fR]
- .SH OPTIONS
- .IP "\fB\-l" 15
- Print a series of #define's for
- the ANSI standard
- .B limits.h
- include file, excluding \fBMB_MAX_CHAR\fR.
- .IP "\fB\-f" 15
- Print a series of #define's for the ANSI standard
- .B float.h
- include file.
- .IP "\fB\-v" 15
- Print a verbose prose description of the machine. When combined with
- either of the other two options, the prose is embedded in C comments.
- .BE
-
- .SH DESCRIPTION
- .PP
- .B hard-params
- determines characteristics about the machine it is run on, such as the
- number of bytes in an \fBint\fR, the byte order, and the floating point
- format. It displays them either as English text or as C code.
- .PP
- .B hard-params
- also checks for bugs in
- .B printf
- and \fBscanf\fR,
- and it checks for compiler bugs like botched casts.
-
- .SH KEYWORDS
- characteristics, hardware, header, ANSI, tests
- @
-